package com.spsy.product.domain.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class ProductVO {
    // 商品表字段
    private Long id;
    private String name;
    private String subTitle;
    private Long categoryId;
    private Long brandId;
    private BigDecimal price;
    private BigDecimal originalPrice;
    private Integer stock;
    private String mainImage;
    private List<String> subImages;
    private Integer status;
    private Integer salesCount;
    private Integer viewCount;
    private Integer isHot;
    private Integer isNew;
    private Integer isRecommend;
    private Date createTime;
    private Date updateTime;
    private String createBy;
    private String updateBy;

    // 商品详情表字段
    private String description;
    private Map<String, Object> specifications;
    private List<String> packingList;
    private String afterService;
    private List<String> detailImages;
}